<!--
-------------------------------------------------------------------
BIE is Copyright 2001-2004 Brunswick Corp.
-------------------------------------------------------------------
Please read the legal notices (docs/legal.txt) and the license
(docs/bie_license.txt) that came with this distribution before using
this software.
-------------------------------------------------------------------

-->
<%@ page contentType="text/html" %>
<%@ page import='com.webdeninteractive.bie.persistent.*,java.util.*' %>

<html>
<head>
<title>BIE Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/bie.css" type="text/css">
</head>

<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<%
	String pageID = request.getParameter("pageID");
	if (pageID == null)
		pageID =  "home";
	
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><img src="images/topleftheader.gif" width="677" height="61"></td>
    <td width="100%"><img src="images/toprightheader.gif" width="100%" height="61"></td>
  </tr>
  <tr> 
    <td colspan="2"><img src="images/graybar.gif" width="100%" height="19"></td>
  </tr>
</table>
<p>&nbsp;</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr> 
    <td align="left" valign="top" width="142" background="images/menubg.gif" height="100%"> 
      <table width="100%" align="left" valign="top" cellpadding="4" border=0>
        <tr> 
          <td class="verticalMenu"> <img name="spacermenutext" src="images/spacer.gif" width="138" height="10" border="0"> 
          </td>
        </tr>
        <tr> 
          <td class="verticalMenu">      <a href='dashboard.jsp?pageID=home' class='selected_<%=pageID.equals("home")%>'>Home</a><br>
     <a href='dashboard.jsp?pageID=system' class='selected_<%=pageID.equals("system")%>'>System</a><br>
     <a href='dashboard.jsp?pageID=route' class='selected_<%=pageID.equals("route")%>'>Routes</a><br>
     <a href='dashboard.jsp?pageID=transaction' class='selected_<%=pageID.equals("transaction")%>'>Transactions</a><br>
     <a href='dashboard.jsp?pageID=user' class='selected_<%=pageID.equals("user")%>'>Users</a><br>
     <a href='dashboard.jsp?pageID=license' class='selected_<%=pageID.equals("license")%>'>Licenses</a><br>
     <a href='dashboard.jsp?pageID=mail' class='selected_<%=pageID.equals("mail")%>'>Mail</a><br>
     <a href='dashboard.jsp?pageID=webservices' class='selected_<%=pageID.equals("webservices")%>'>Web Services</a><br>
     <a href='dashboard.jsp?pageID=statistics' class='selected_<%=pageID.equals("statistics")%>'>Statistics</a><br> 
          </td>
        </tr>
      </table>
</td>
    <td align="left" valign="top" width="10" height="100%"> <img name="spacermenutext" src="images/spacer.gif" width="10" height="50" border="0"> 
    </td>
    <td colspan="3" align="left" valign="top" width="100%" height="100%">
        <% if (pageID.equals("home")) { %>
            <jsp:include page='home.jsp'/>
        <% } else if (pageID.equals("system")) { %>
            <jsp:include page='system.jsp'/>
        <% } else if (pageID.equals("route")) { %>
            <jsp:include page='route.jsp'/>
        <% } else if (pageID.equals("notification")) { %>
            <jsp:include page='notification.jsp'/>
        <% } else if (pageID.equals("user")) { %>
            <jsp:include page='user.jsp'/>
        <% } else if (pageID.equals("transaction")) { %>
        <!--   <logic:redirect page='welcome.jsp'/> -->
            <jsp:include page='transaction.jsp'/>
        <% } else if (pageID.equals("license")) { %>     
            <jsp:include page='license.jsp'/>    
        <% } else if (pageID.equals("index")) { %>
            <jsp:include page='index.jsp'/>
        <% } else if (pageID.equals("addlicense")) { %>
            <jsp:include page='newLicense.jsp'/>
        <% } else if (pageID.equals("notfound")) { %>
            <jsp:include page='notfound.jsp'/>
        <% } else if (pageID.equals("error")) { %>
            <jsp:include page='error.jsp'/>    
        <% } else if (pageID.equals("mail")) { %>
            <jsp:include page='mailConfiguration.jsp'/>    
        <% } else if (pageID.equals("webservices")) { %>
            <jsp:include page='webservices.jsp'/>    
        <% }  else if (pageID.equals("statistics")) { %>
            <jsp:include page='statistics.jsp'/>    
        <% } %>
    </td> 
  </tr>
<tr>
    <td colspan="5"><img src="/images/spacer.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td align="center" valign="top" colspan="5">
</td>
</tr>
<tr>
<td colspan="5" >
<hr size=1>
      � Copyright 
      2001-2002 <a href="http://www.brunswick.com" target="_blank">Brunswick Corporation</a>. 
      All Rights Reserved.<br>
      <a href="http://www.webdeninteractive.com/termsofuse.htm">Terms of Use Statement</a>
    </td>
</tr>
</table>


</body>
</html>
